package com.love.marriage.commissionInfo.mapper;

import com.love.marriage.commissionInfo.entity.CommissionInfo;
import com.love.marriage.commissionInfo.vo.CommissionInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

/**
 * description:  佣金表 mapper
 * author:       mybatisPlus
 * createDate:   2024-10-28 19:07:46
 * version:      1.0.0
 */
@Mapper
public interface CommissionInfoMapper extends BaseMapper<CommissionInfo> {

    @DataPermission(table = "commission_info_t")
    Page<CommissionInfoVo> getPage(Page<CommissionInfoVo> page, @Param("commissionInfoVo") CommissionInfoVo commissionInfoVo);

    CommissionInfoVo queryCommissionInfo(@Param("id") Long id);
}
